package com.wz.project.system.employee.domain;

import com.wz.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 该类用来显示更全的信息，mapper.xml 涉及到多表查询
 */
public class EmployeeVO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    private	Integer	employeeId	;
    /**
     * 姓名
     */
    private	String	name	;
    /**
     * 员工编号
     */
    private	String	empNo	;
    /**
     * 手机号
     */
    private	String	mobile	;
    /**
     * 部门id
     */
    private	Integer	deptId	;
    /**
     * 员工身份
     */
    private	Integer	identiy	;
    /**
     * 性别
     */
    private	Integer	gender	;
    /**
     * 状态
     */
    private	Integer	status	;
    /**
     * 入职日期
     */
    private	Date fromDate;

    private String fromDateString;

    /**
     * 离职日期
     */
    private	Date	toDate	;

    private String toDateString;
    /**
     * 是否开通账号
     */
    private	String	account	;

    /**
     * 删除标识0=存在，2=删除
     */
    private String delFlag;
    /**
     * 备注
     */
    private String remark;

    /**
     * 员工是否存在组织标识
     */
    private boolean flag = false;

    /**
     * 部门名字
     */
    private String deptName;

    /**
     * 岗位名称
     */
    private String postName;

    /**
     * 项目组名称
     */
    private String prjgroupName;

    public Date getFromDate() {
        return fromDate;
    }

    public void setFromDate(Date fromDate) {
        this.fromDate = fromDate;
    }

    public String getFromDateString() {
        return fromDateString;
    }

    public void setFromDateString(String fromDateString) {
        this.fromDateString = fromDateString;
    }

    public String getToDateString() {
        return toDateString;
    }

    public void setToDateString(String toDateString) {
        this.toDateString = toDateString;
    }

    public Date getToDate() {
        return toDate;
    }

    public void setToDate(Date toDate) {
        this.toDate = toDate;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getIdentiy() {
        return identiy;
    }

    public void setIdentiy(Integer identiy) {
        this.identiy = identiy;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getPrjgroupName() {
        return prjgroupName;
    }

    public void setPrjgroupName(String prjgroupName) {
        this.prjgroupName = prjgroupName;
    }

    @Override
    public String toString() {
        return "EmployeeVO{" +
                "employeeId=" + employeeId +
                ", name='" + name + '\'' +
                ", empNo='" + empNo + '\'' +
                ", mobile='" + mobile + '\'' +
                ", deptId=" + deptId +
                ", identiy=" + identiy +
                ", gender=" + gender +
                ", status=" + status +
                ", fromDate=" + fromDate +
                ", fromDateString='" + fromDateString + '\'' +
                ", toDate=" + toDate +
                ", toDateString='" + toDateString + '\'' +
                ", account='" + account + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", remark='" + remark + '\'' +
                ", flag=" + flag +
                ", deptName='" + deptName + '\'' +
                ", postName='" + postName + '\'' +
                ", prjgroupName='" + prjgroupName + '\'' +
                '}';
    }
}
